package com.lxj.ticket.service.modules.ticket_plant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 票星球所有的url信息
 */
@Getter
@AllArgsConstructor
public enum TicketUrlEnum {

    URL_INDEX("首页", "https://m.piaoxingqiu.com", "GET", "首页"),
    URL_SEND_VERIFY_CODE("发送验证码", "https://m.piaoxingqiu.com/cyy_gatewayapi/user/pub/v5/send_verify_code", "POST", "发送验证码"),
    URL_GENERATE_PHOTO("产生验证码", "https://m.piaoxingqiu.com/cyy_gatewayapi/user/pub/v3/generate_photo_code", "POST", "生成验证码图片"),
    URL_LOGIN_REGISTER("登录或者注册", "\n" +
            "https://m.piaoxingqiu.com/cyy_gatewayapi/user/pub/v3/login_or_register?lang=zh&terminalSrc=WEB&utcOffset=480&ver=4.46.5", "POST", "登录或者注册");
    private final String name;
    /**
     * url路径
     */
    private final String url;

    /**
     * 请求方法
     */
    private final String method;

    /**
     * 备注
     */
    private final String descInfo;

}
